/*
 *      Created on: Mar 4, 2011
 *      Author: topcoder
 */

#ifndef VOLUME_H_
#define VOLUME_H_
#include <Quantity.h>
#include <VolumeUnit.h>
#include <iostream>

class Volume:public Quantity
{
    public:
    Volume(const unsigned int amount, const VolumeUnit& volumeUnit);

    Volume operator+(const Volume& volume)const;

    void  PrintInFormat1(ostream& os)const; 

    void  PrintInFormat2(ostream& os)const;

    private:
    void  PrintVolume(ostream& os)const; 
   
};


#endif /* VOLUME_H_ */
